Add missing RES1 bit in SCTLR_EL1
authorVikram Kanigiri <[email protected]>
Wed, 22 Jul 2015 10:53:52 +0000 (11:53 +0100)
committerVikram Kanigiri <[email protected]>
Fri, 13 Nov 2015 13:52:48 +0000 (13:52 +0000)
As per Section D7.2.81 in the ARMv8-A Reference Manual (DDI0487A Issue A.h),
bits[29:28], bits[23:22], bit[20] and bit[11] in the SCTLR_EL1 are RES1. This
patch adds the missing bit[20] to the SCTLR_EL1_RES1 macro.

Change-Id: I827982fa2856d04def6b22d8200a79fe6922a28e

include/lib/aarch64/arch.h

index 912643d268260880bf7a9de8d0099dd8c2a28235..9aea2c9dbbec94778a0ebde0aabd4f7f4fa3fb75 100644 (file)
                        (1 << 4))
 
 #define SCTLR_EL1_RES1  ((1 << 29) | (1 << 28) | (1 << 23) | (1 << 22) | \
-                       (1 << 11))
+                       (1 << 20) | (1 << 11))
 #define SCTLR_AARCH32_EL1_RES1 \
                        ((1 << 23) | (1 << 22) | (1 << 11) | (1 << 4) | \
                        (1 << 3))